package com.ponhu.ea2.stockcenter.provider.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ponhu.ea2.stockcenter.dto.StockBatchChangeQueryDTO;
import com.ponhu.ea2.stockcenter.provider.entity.StockInventoryBatchChange;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ponhu.ea2.stockcenter.vo.StockBatchChangeVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 货品批次变动记录表 Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2022-03-09
 */
@Mapper
public interface StockInventoryBatchChangeMapper extends BaseMapper<StockInventoryBatchChange> {

    IPage<StockBatchChangeVO> getStockBatchChangeListByQuery(@Param("dto") StockBatchChangeQueryDTO queryDTO, Page queryPageInfo);

    Long getStockBatchChangeListByQuery_Count(@Param("dto") StockBatchChangeQueryDTO queryDTO);

}
